#include "ext2_fs_sb.h"

/*
**	、each file system had own parser_option() to parser const string and set value，
*/
static bool parse_option(const char *pdata,int *sb_block,int *uid,int *gid){
	
}


struct struct sb_dev_t *ext2_read_super(struct sb_dev_t *sb,void *data,int silent){
	kdev_t dev = sb->s_dev;
	int uid,gid,sb_block;
	int blocksize = get_diskblocksize(dev);
	__u32 logic_sb_size;
	if(blocksize == 0 || blocksize < BLOCK_SIZE){
		blocksize = BLOCK_SIZE;
	}
	if(false == parse_option((const char *)data,&sb_block,&uid,&gid)){
		return NULL;
	}
	logic_sb_size = blocksize /  BLOCK_SIZE;
	
	/*read disk super block*/
	bread(dev,logic_sb_size,blocksize);
} 
